package net.webparation.portlet.helloworld;

import javax.portlet.RenderRequest;
import javax.portlet.RenderResponse;
import net.webparation.portlet.ViewCommand;

/**
 * View setting the string to display in the JSP view.
 *
 * @author <a href="mailto:allan.lykke.christensen@gmail.com">Allan Lykke Christensen</a>
 */
public class HelloWorldView implements ViewCommand {
        
    public String execute (RenderRequest request, RenderResponse response) {
        request.setAttribute ("MESSAGE", "Hello World!");        
        return "/view.jsp";
    }
    
}
